function formSubmit() {
    var id=$("input[name='id']").val();
    var pwd=$("input[name='pwd']").val();

    var json={id:id,pwd:pwd};


    $.get("/home/login",json,function (data) {
        if(data.code==0){
            alert("账号或密码不正确，请重新尝试");
        }else {
            window.location="/html/admin/personage.html?id="+id;
        }
    })
}